﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userEdit.aspx.cs" Inherits="Admin_UserManagement_userEdit"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户信息维护</title>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../Admin.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="../setday/JScript.js"></script>
		
	<style type="text/css">

		    .style2
            {
                border-style: none;
            border-color: inherit;
            border-width: 1px;
width: 44%;
                    font-size:14px;
            }
		</style>
	</HEAD>
	<BODY>

		<form id="Form1" method="post" runat="server">
			<table class="tableBorder" id="table2" height="127" cellSpacing="1" cellPadding="3" align="center"
				border="0">
				<tr>
					<th id="tabletitlelink" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(images/admin_bg_1.gif); COLOR: white; BACKGROUND-COLOR: #4455aa"
						align="left" height="25">
						<p align="center" style ="font-size :20px;">用户信息维护</p>
					</th>
				</tr>
				
				<tr>
					<td class="forumRowHighlight" style="height: 12px">&nbsp;
					<table class="tableBorder" id="table1"  border="0"
					style="WIDTH: 100%">
		
					    <TR>
					    
						<TD class="Forumrow" align="center" style="height: 25px" colspan="9">
						    
						    
                                <table align="center" border="1">
                                    <tr>
                                        <td align="right">
                                            用户名 ：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtName" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="txtName" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            姓名：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtUserName" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="txtUserName" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    
                                     <tr>
                                 <td align="center">预约类型：</td>
                                            <td align="left"><asp:DropDownList id="ddlYuyuefenlei" CssClass="required" runat="server"  AutoPostBack="True"

                                                    onselectedindexchanged="ddlYuyuefenlei_SelectedIndexChanged"></asp:DropDownList>
                                                <asp:Label ID="lblTime" runat="server"></asp:Label>
                                            </td>
                            </tr>
                                    <tr>
                                        <td align="right">
                                            性别：</td>
                                        <td align="left">
                                            <asp:RadioButtonList ID="rdoSex" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Selected="True" Value="男">男</asp:ListItem>
                                                <asp:ListItem Value="女">女</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            部门：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtDepartment" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            成本中心：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtCostCenters" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            身份证号：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtUserIDCard" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                                ControlToValidate="txtUserIDCard" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                                                ControlToValidate="txtUserIDCard" ErrorMessage="*" 
                                                ValidationExpression="\d{17}[\d|X]|\d{15}">格式不正确</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            年龄：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtUserAge" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                                ControlToValidate="txtUserAge" ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                                                ControlToValidate="txtUserAge" ErrorMessage="*" 
                                                ValidationExpression="^(?:120|[1-9][0-9]?|1[01][0-9])$">格式不正确</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            婚否：</td>
                                        <td align="left">
                                            <asp:RadioButtonList ID="rdoMarriage" runat="server" 
                                                RepeatDirection="Horizontal">
                                                <asp:ListItem Selected="True" Value="未婚">未婚</asp:ListItem>
                                                <asp:ListItem Value="已婚">已婚</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            手机号码：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtPhoneNumber" runat="server" MaxLength="11" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                                ControlToValidate="txtPhoneNumber" ErrorMessage="*">不能为空</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                ControlToValidate="txtPhoneNumber" ErrorMessage="*" 
                                                ValidationExpression="^(13[0-9]|15[0|3|6|7|8|9]|18[8|9])\d{8}$">格式不正确</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            固定电话：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtTelephone" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                                                ControlToValidate="txtTelephone" ErrorMessage="*" 
                                                ValidationExpression="(^(\d{3,4}-)?\d{7,8})">格式不正确</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            联系地址：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtAddress" runat="server" MaxLength="100" Width="200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            电子邮箱：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtUserEmai" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                                ControlToValidate="txtUserEmai" ErrorMessage="*">不能为空</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="txtUserEmai" ErrorMessage="*" 
                                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">格式不正确</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            地区属性：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtArea" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            登录语言：</td>
                                        <td align="left">
                                            <asp:RadioButtonList ID="rdoLang" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Selected="True" Value="中文">中文</asp:ListItem>
                                                <asp:ListItem Value="English">English</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                            &nbsp;</td>
                                        <td align="left">
                                            <asp:CheckBox ID="CheckBox1" runat="server" Text="修改密码" 
                                                oncheckedchanged="CheckBox1_CheckedChanged" AutoPostBack="True" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            新密码：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtpwd" runat="server" MaxLength="50" Width="200px" 
                                                Enabled="False"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            确认密码：</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtpwd1" runat="server" MaxLength="50" Width="200px" 
                                                Enabled="False"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            &nbsp;</td>
                                        <td align="left">
						<asp:Button ID="btnEbit" runat="server" Text="修改" 
                            Width="60px" onclick="btnEbit_Click" />
                                        &nbsp;
						                </td>
                                    </tr>
                                </table>
                               
                    
                               
                                <!-- 结束 -->
						    
						        
                            </TD>
					</TR>
					
					    
					
					    </table>
					
                    </td></tr>
                    
				
					<TR>
						<TD class="forumRowHighlight" height="12" align="right">
                            &nbsp;&nbsp;
                            &nbsp;&nbsp;
							&nbsp;&nbsp;
						</table>
		</form>
	</BODY>
</HTML>
